From b03c22e0c990be02b08f71a33cb0816a8bde20f5 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Thu, 1 May 2014 19:36:42 +0200 Subject: [PATCH] widget: deprecate interior-focus style property Nothing uses it anymore inside GTK. --- gtk/gtkwidget.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index ce4f6ae33d..b1a409554f 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -3442,12 +3442,20 @@ G_GNUC_END_IGNORE_DEPRECATIONS GTK_TYPE_WIDGET_HELP_TYPE, GTK_WIDGET_HELP_WHATS_THIS); + /** + * GtkWidget:interior-focus: + * + * The "interior-focus" style property defines whether + * to draw the focus indicator inside widgets. + * + * Deprecated: 3.14: use the outline CSS properties instead. + */ gtk_widget_class_install_style_property (klass, g_param_spec_boolean ("interior-focus", P_("Interior Focus"), P_("Whether to draw the focus indicator inside widgets"), TRUE, - GTK_PARAM_READABLE)); + GTK_PARAM_READABLE | G_PARAM_DEPRECATED)); gtk_widget_class_install_style_property (klass, g_param_spec_int ("focus-line-width", -- 2.30.2